package edu.xlh.travel.service;

import edu.xlh.travel.common.Result;

import javax.mail.MessagingException;
import javax.servlet.http.HttpServletRequest;

public interface ValidateService {
    Result sendValidationEmail(String email, HttpServletRequest request) throws MessagingException;
    Result resetPassword(String token, String password, String confirmPassword);
}
